View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Snapstream Firefly R8.3
PostPosted: Thu Feb 19, 2015 8:01 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
I decided to give R8.3 a try, here are the results with the Snapstream Firefly Remote

Code:
[mythtv@mythbox ~]$ uname -r
3.18.4-1-ARCH


Code:
 [mythtv@mythbox ~]$ lsusb
Bus 003 Device 006: ID 03f0:140c Hewlett-Packard
Bus 003 Device 003: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 004 Device 006: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 004 Device 003: ID 0bc7:0008 X10 Wireless Technology, Inc. Wireless Transceiver (ACPI-compliant)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Code:
[mythtv@mythbox ~]$ cat /tmp/remotes.log
Thu Feb 19 18:28:33 CST 2015 --- run started
====== lirc modules already loaded ==========
====== lirc modules end =========


Disable in kernel remote driver
Starting remotes from /usr/bin/lircd -r -n -d /dev/lirc0 --output /var/run/lirc/lircd 
lircd-0.9.2[790]: Warning: Running as root
lircd-0.9.2[790]: Info: Using remote: Snapstream_Firefly.
lircd-0.9.2[790]: Notice: lircd(default) ready, using /var/run/lirc/lircd
lircd-0.9.2[790]: Notice: accepted new client on /var/run/lirc/lircd
lircd-0.9.2[790]: Error: could not get file information for /dev/lirc0
lircd-0.9.2[790]: default_init(): No such file or directory
lircd-0.9.2[790]: Warning: Failed to initialize hardware
lircd-0.9.2[790]: Notice: accepted new client on /var/run/lirc/lircd
lircd-0.9.2[790]: Notice: accepted new client on /var/run/lirc/lircd
lircd-0.9.2[790]: Notice: accepted new client on /var/run/lirc/lircd
lircd-0.9.2[790]: Info: removed client


Code:
[root@mythbox mythtv]# irw

no response to any keys


Code:
ls /dev/lirc*
[root@mythbox mythtv]# ls: cannot access /dev/lirc*: No such file or directory



Code:
[root@mythbox mythtv]# lsmod
Module                  Size  Used by
rpcsec_gss_krb5        30147  0
nfsd                  284874  2
auth_rpcgss            54659  2 nfsd,rpcsec_gss_krb5
oid_registry           12419  1 auth_rpcgss
nfs_acl                12511  1 nfsd
videobuf_dvb           12762  0
cx88_vp3054_i2c        12564  0
cx8802                 17324  0
cx88xx                 80347  1 cx8802
btcx_risc              12555  2 cx8802,cx88xx
tveeprom               20593  1 cx88xx
videobuf_dma_sg        17248  2 cx8802,cx88xx
videobuf_core          21831  4 videobuf_dma_sg,videobuf_dvb,cx8802,cx88xx
dvb_core              102038  1 videobuf_dvb
rc_core                22437  1 cx88xx
v4l2_common            12995  1 cx88xx
videodev              135040  2 cx88xx,v4l2_common
media                  18365  1 videodev
i2c_algo_bit           12744  2 cx88_vp3054_i2c,cx88xx
snd_hda_codec_hdmi     49263  1
snd_hda_codec_via      30908  1
snd_hda_codec_generic    63087  1 snd_hda_codec_via
nvidia              10512002  59
snd_seq_dummy          12503  0
snd_seq_oss            37288  0
snd_seq_midi_event     13316  1 snd_seq_oss
snd_seq                61165  5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_seq_device         13132  3 snd_seq,snd_seq_oss,snd_seq_dummy
snd_pcm_oss            49005  0
snd_mixer_oss          21998  1 snd_pcm_oss
snd_hda_intel          26387  0
coretemp               12820  0
snd_hda_controller     26938  1 snd_hda_intel
btusb                  29996  0
snd_hda_codec         112621  5 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
bluetooth             403971  2 btusb
joydev                 17063  0
serio_raw              12849  0
psmouse               107352  0
evdev                  21544  18
mousedev               17272  0
shpchp                 35210  0
drm                   263481  3 nvidia
snd_hwdep              17244  1 snd_hda_codec
mac_hid                12633  0
e1000                 130362  0
snd_pcm                88785  5 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
rfkill                 18867  1 bluetooth
snd_timer              26614  2 snd_pcm,snd_seq
snd                    73436  13 snd_pcm_oss,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_seq,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_oss,snd_seq_device,snd_mixer_oss
i2c_nforce2            12591  0
soundcore              13031  2 snd,snd_hda_codec
i2c_core               50152  9 drm,i2c_algo_bit,cx88_vp3054_i2c,cx88xx,nvidia,v4l2_common,tveeprom,i2c_nforce2,videodev
asus_atk0110           17209  0
hwmon                  12930  2 asus_atk0110,coretemp
wmi                    17339  0
processor              27777  0
button                 12953  0
hid_logitech_dj        17248  0
hid_generic            12393  0
usbhid                 48595  0
hid                   106316  3 hid_generic,usbhid,hid_logitech_dj
uvesafb                26026  2
sr_mod                 21903  0
cdrom                  47479  1 sr_mod
sd_mod                 43575  6
ata_generic            12490  0
pata_acpi              12771  0
atkbd                  22254  0
libps2                 12739  2 atkbd,psmouse
ahci                   33248  5
libahci                27215  1 ahci

ohci_hcd               43006  1 ohci_pci
ehci_hcd               69939  1 ehci_pci
libata                181518  4 ahci,pata_acpi,libahci,ata_generic
scsi_mod              147580  3 libata,sd_mod,sr_mod
usbcore               199382  6 btusb,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid
usb_common             12561  1 usbcore
i8042                  18002  1 libps2
serio                  18282  6 serio_raw,atkbd,i8042,psmouse
ext4                  510292  3
crc16                  12343  2 ext4,bluetooth
mbcache                17171  1 ext4
jbd2                   86379  1 ext4
jfs                   181485  0
xfs                   853947  1
crc32c_generic         12656  1
libcrc32c              12426  1 xfs
reiserfs              246813  0
nfs                   208487  0
lockd                  87230  2 nfs,nfsd
grace                  12586  2 nfsd,lockd
sunrpc                249295  8 nfs,nfsd,rpcsec_gss_krb5,auth_rpcgss,lockd,nfs_acl
fscache                53701  1 nfs
[root@mythbox mythtv]#


Top
 Profile  
 
PostPosted: Thu Feb 26, 2015 12:15 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
Devs

Please look at this,

http://archlinuxarm.org/forum/viewtopic.php?f=9&t=5940

The second post is more relivant. The user describes in detail how to get X10 remote working using HID device method (no blacklisting) with arch rpi. I have it working with OpenElec it uses (devinput) just had to add the context menu key with a Lircmap.xml file. Could we use this as a template to get the Snapstream Firefly working again with Linhes R8.3?


Last edited by RacerX on Fri Feb 27, 2015 9:52 pm, edited 1 time in total.


Top
 Profile  
 
PostPosted: Thu Feb 26, 2015 1:30 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
If you can get it working I would be happy to update the LinHES templates. I don't have the remote so investigating where the issue is difficult to say the least. I think jams has the remote but real life has kept him busy lately.

Many of the specific methods (like the lirc.service file; we don't use systemd for starting services) in the link won't apply to LinHES because it is not how we start lirc. But things like the lirc command and driver and lircd.conf should help.

I would suggest for you to try to get it working in LinHES that you first set no remote in LinHES Settings > Remotes and then reboot to make sure the blacklist of the various ati modules is gone. Use lsmod and check /etc/modprobe.d/ Then find the usb ID of the Firefly as stated in the article. You will also need to find a lircd.conf that works with devinput. It looks like the one linked in the article was removed from lirc in 0.9.2. There is probably a replacement somewhere but you will have to search. Put that lircd.conf in /etc/lirc/lircd.conf.d. With with the usb device and a lircd.conf in place then you can run the lircd cmd. Something like this but with your exact usb id:
Code:
lircd -r -d /dev/input/by-id/USBFIREFLY --driver=devinput --output /var/run/lirc/lircd
Then try the debugging steps listed in the link. If it doesn't work you may have to try another lircd.conf.


Top
 Profile  
 
PostPosted: Fri Feb 27, 2015 4:10 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
Ok I setup a test box with SSH so I can mess with the remote.

First, in Linhes Remotes

Code:
remote class: User
remote: None Found


Second rebooted and checked no remotes installed

Code:
root@mythbox modprobe.d]# lsmod
Module                  Size  Used by
rpcsec_gss_krb5        30147  0
nfsd                  284874  13
auth_rpcgss            54659  2 nfsd,rpcsec_gss_krb5
oid_registry           12419  1 auth_rpcgss
nfs_acl                12511  1 nfsd
videobuf_dvb           12762  0
cx88_vp3054_i2c        12564  0
cx8802                 17324  0
cx88xx                 80347  1 cx8802
btcx_risc              12555  2 cx8802,cx88xx
tveeprom               20593  1 cx88xx
videobuf_dma_sg        17248  2 cx8802,cx88xx
videobuf_core          21831  4 videobuf_dma_sg,videobuf_dvb,cx8802,cx88xx
dvb_core              102038  1 videobuf_dvb
v4l2_common            12995  1 cx88xx
videodev              135040  2 cx88xx,v4l2_common
media                  18365  1 videodev
i2c_algo_bit           12744  2 cx88_vp3054_i2c,cx88xx
snd_hda_codec_hdmi     49263  1
snd_hda_codec_via      30908  1
snd_hda_codec_generic    63087  1 snd_hda_codec_via
nvidia              10512002  29
snd_seq_dummy          12503  0
snd_seq_oss            37288  0
snd_seq_midi_event     13316  1 snd_seq_oss
snd_seq                61165  5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_seq_device         13132  3 snd_seq,snd_seq_oss,snd_seq_dummy
snd_pcm_oss            49005  0
snd_mixer_oss          21998  1 snd_pcm_oss
psmouse               107352  0
serio_raw              12849  0
atkbd                  22254  0
libps2                 12739  2 atkbd,psmouse
snd_hda_intel          26387  0
coretemp               12820  0
snd_hda_controller     26938  1 snd_hda_intel
snd_hda_codec         112621  5 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              17244  1 snd_hda_codec
rc_snapstream_firefly    12407  0
shpchp                 35210  0
snd_pcm                88785  5 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
joydev                 17063  0
btusb                  29996  0
mousedev               17272  0
ati_remote             17064  0
evdev                  21544  16
bluetooth             403971  2 btusb
mac_hid                12633  0
rc_core                22437  4 cx88xx,ati_remote,rc_snapstream_firefly
snd_timer              26614  2 snd_pcm,snd_seq
drm                   263481  3 nvidia
snd                    73436  13 snd_pcm_oss,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_via,snd_pcm,snd_seq,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_oss,snd_seq_device,snd_mixer_oss
e1000                 130362  0
rfkill                 18867  1 bluetooth
i2c_nforce2            12591  0
soundcore              13031  2 snd,snd_hda_codec
i2c_core               50152  9 drm,i2c_algo_bit,cx88_vp3054_i2c,cx88xx,nvidia,v4l2_common,tveeprom,i2c_nforce2,videodev
i8042                  18002  1 libps2
serio                  18282  6 serio_raw,atkbd,i8042,psmouse
asus_atk0110           17209  0
hwmon                  12930  2 asus_atk0110,coretemp
wmi                    17339  0
button                 12953  0
processor              27777  0
hid_logitech_dj        17248  0
uvesafb                26026  2
hid_generic            12393  0
usbhid                 48595  0
hid                   106316  3 hid_generic,usbhid,hid_logitech_dj
sr_mod                 21903  0
cdrom                  47479  1 sr_mod
sd_mod                 43575  8
ata_generic            12490  0
pata_acpi              12771  0
ahci                   33248  6
libahci                27215  1 ahci
libata                181518  4 ahci,pata_acpi,libahci,ata_generic
ohci_pci               12808  0
ehci_pci               12512  0
ohci_hcd               43006  1 ohci_pci
ehci_hcd               69939  1 ehci_pci
scsi_mod              147580  3 libata,sd_mod,sr_mod
usbcore               199382  7 btusb,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid,ati_remote
usb_common             12561  1 usbcore
ext4                  510292  3
crc16                  12343  2 ext4,bluetooth
mbcache                17171  1 ext4
jbd2                   86379  1 ext4
jfs                   181485  0
xfs                   853947  2
crc32c_generic         12656  1
libcrc32c              12426  1 xfs
reiserfs              246813  0
nfs                   208487  0
lockd                  87230  2 nfs,nfsd
grace                  12586  2 nfsd,lockd
sunrpc                249295  20 nfs,nfsd,rpcsec_gss_krb5,auth_rpcgss,lockd,nfs_acl
fscache                53701  1 nfs
[root@mythbox modprobe.d]#


Code:
[root@mythbox modprobe.d]# ls /etc/modprobe.d/
alsa-base.conf  blacklist_nouveau.conf  blacklist_pcspkr.conf  xc5000.conf
[root@mythbox modprobe.d]#


I'm not clear about the USB ID of the Firefly?
Code:
[root@mythbox modprobe.d]# ls -l /dev/input/by-id
total 0
lrwxrwxrwx 1 root root 9 Feb 27 15:51 usb-X10_WTI_RF_receiver-event-if00 -> ../event5
lrwxrwxrwx 1 root root 9 Feb 27 15:51 usb-X10_WTI_RF_receiver-event-mouse -> ../event6
lrwxrwxrwx 1 root root 9 Feb 27 15:51 usb-X10_WTI_RF_receiver-mouse -> ../mouse2
[root@mythbox modprobe.d]#


Code:
[root@mythbox ~]# ls /dev/input/by-id
usb-X10_WTI_RF_receiver-event-if00   usb-X10_WTI_RF_receiver-mouse
usb-X10_WTI_RF_receiver-event-mouse
[root@mythbox ~]#


Code:
cat /proc/bus/input/devices
I: Bus=0003 Vendor=0bc7 Product=0008 Version=0100
N: Name="X10 WTI RF receiver"
P: Phys=usb-0000:00:06.0-4/input0
S: Sysfs=/devices/pci0000:00/0000:00:06.0/usb3/3-4/3-4:1.0/rc/rc0/input4
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=100013
B: KEY=4000000108c0320 230016100000000 0 c000 4180c0000c01 8e168100000000 1400140000ffc
B: MSC=10


Is this it?
Code:
usb-X10_WTI_RF_receiver-event-if00


Thanks


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu