GeeXboXgoogle00

[CuBox] DVD drive not available

October 31st, 2013

Home Forums GeeXboX on ARM SoCs [CuBox] DVD drive not available

This topic contains 17 replies, has 4 voices, and was last updated by togath 2 months, 1 week ago.

Viewing 15 posts – 1 through 15 (of 18 total)
  • Author
    Posts
  • #7127

    togath
    Member

    Hi there,

    I got a new DVD drive with USB2 interface for my CuBox :-)

    It’s recogised correctly:

    usb 1-1: new high-speed USB device number 1 using orion-ehci
    scsi3 : usb-storage 1-1:1.0
    scsi 3:0:0:0: CD-ROM            TSSTcorp BDDVDW SE-506BB  TS00 PQ: 0 ANSI: 0
    

    But the GUI doesn’t display any option to access the drive (neither audio CD nor video DVD)

    I although tried this: http://www.geexbox.org/forum/topic/problem-with-opening-dvd/ without success.

    I’m running the snapshot from 2013-10-05.

    The drive works fine under Lubuntu 12.04

    • This topic was modified 10 months, 1 week ago by togath.
    #7129

    tomlohave
    Moderator

    CONFIG_BLK_DEV_SR is not set on kernel ….. so your device is not attached to /dev/sr0
    adding this now
    but 3.1 release is already uploaded for cubox

    • This reply was modified 10 months, 1 week ago by tomlohave.
    #7132

    Warped Rudi
    Moderator

    Arrgh! Just noticed this as well. Another leftover from our kernel switch :-(.

    #7134

    tomlohave
    Moderator

    Niko should rebuild the kernel on the afternoon, and re-upload all files.
    It should be ready for this night.

    #7139

    togath
    Member

    Will test this then tomorrow with 3.1 :-) Thank you

    #7240

    togath
    Member

    So, found some time for testing with v3.1

    The device is recognised correctly as scsi-cdrom (dev/sr0):

    # usb 1-1: new high-speed USB device number 2 using orion-ehci
    scsi1 : usb-storage 1-1:1.0
    scsi 1:0:0:0: CD-ROM            TSSTcorp BDDVDW SE-506BB  TS00 PQ: 0 ANSI: 0
    sr0: scsi3-mmc drive: 0x/24x writer dvd-ram cd/rw xa/form2 cdda tray
    cdrom: Uniform CD-ROM driver Revision: 3.20
    

    Nevertheless that’s it. It’s not loading/mounting any disc.
    In one out of ten auto-mounting attempts it produces at least an error:

    # sr 4:0:0:0: [sr0]
    Result: hostbyte=0x00 driverbyte=0x08
    sr 4:0:0:0: [sr0]
    Sense Key : 0x5 [current]
    sr 4:0:0:0: [sr0]
    ASC=0x6f ASCQ=0x3
    sr 4:0:0:0: [sr0] CDB:
    cdb[0]=0x28: 28 00 00 00 04 00 00 00 02 00 00 00
    end_request: I/O error, dev sr0, sector 4096
    Buffer I/O error on device sr0, logical block 512
    sr 4:0:0:0: [sr0]
    Result: hostbyte=0x00 driverbyte=0x08
    sr 4:0:0:0: [sr0]
    Sense Key : 0x5 [current]
    sr 4:0:0:0: [sr0]
    ASC=0x6f ASCQ=0x3
    sr 4:0:0:0: [sr0] CDB:
    cdb[0]=0x28: 28 00 00 00 04 00 00 00 02 00 00 00
    end_request: I/O error, dev sr0, sector 4096
    Buffer I/O error on device sr0, logical block 512
    

    Same drive, same disc work fine on PC…

    #7241

    tomlohave
    Moderator

    Ok, we are at least 2 .
    I use the same external DVD drive on usb, On utilite, it works, on cubox, no
    As we share the same packages with the same config, and I use the same device with the same disc, I think the problem comes with the kernel’s config. I will have a look at this and I hope I can find something.

    #7244

    togath
    Member

    Hmmm … Is it good or bad that we are now 2? ;-)

    If there is anything to support you in tracking it down, please let me know.

    I figured out the following with that drive:
    – If I connect it directly to CuBox it is recognised correctly.
    – If I then insert a disc it starts reading it (spinning up the drive)
    – Then it gets disconnected
    – Then it gets connected again
    – Starts reading in the disc
    – …. endless connection/disconnetion loop

    Therefore I assuem that it draws too much power from the usb when spinning up the drive. Which results in a disconnection (maybe intended to protect the CuBox HW maybe uninteded….)

    I then used a y-cable with an external power-supply. With this I setup I get the result from my previous post.

    #7246

    Warped Rudi
    Moderator

    Hmm, when trying some audio CDs last weekend, I noticed spindown/spinup and occasional hangs as well. I attributed this to the low quality drive I was using. May I should look again…

    #7247

    tomlohave
    Moderator

    I use an external hub with its on power supply., so …

    #7353

    skelos
    Participant

    I bought today LG GP50 Slim black DVD/CD writer. As soon as possible I will write here my problems (I hope to not nothing write ^_^ ) about external DVD performances.
    I have 3.1 of Geexbox and I think to use the drive without hub usb but connected directly to 2nd usb cubox usb port.

    #7354

    tomlohave
    Moderator

    well, I spent some hours to test,
    but so far I guess it’s a problem with the kernel itsel (but don’t why)
    same hardware, same dvd disk work about of the box with c1, Utilite, … (and same configuration for kernel side and defconfig) so don’t know where to look now.

    #7360

    skelos
    Participant

    I add some infos. This is the output of lsusb comand :

    # 1 After boot in 2nd USB on cubox

    # lsusb
    Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
    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 001 Device 003: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
    Bus 001 Device 004: ID 048d:9135 Integrated Technology Express, Inc. Zolid Mini DVB-T Stick
    Bus 001 Device 005: ID 0766:002d Jess-Link Products Co., Ltd

    # 2 get off and get in USB cable in 2nd Cubox USB port : nothing change.

    # lsusb
    Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
    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 001 Device 003: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
    Bus 001 Device 004: ID 048d:9135 Integrated Technology Express, Inc. Zolid Mini DVB-T Stick
    Bus 001 Device 005: ID 0766:002d Jess-Link Products Co., Ltd

    # 3 In hub USB : nothing change.

    # lsusb
    Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
    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 001 Device 003: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
    Bus 001 Device 004: ID 048d:9135 Integrated Technology Express, Inc. Zolid Mini DVB-T Stick
    Bus 001 Device 005: ID 0766:002d Jess-Link Products Co., Ltd

    I excepting to see something like ‘LG Gp 50 slim USB’….

    I wrong something or kernel bug catch me?

    #7361

    skelos
    Participant

    My hardware was identified only after reboot. Geexbox support hot plug of USB DVD Writer?

    #7381

    togath
    Member

    Sorry for my late reply. Was kept busy elsewhere.

    I can confirm the ‘lusb’ command listing behaviour.

    Bus 001 Device 002: ID 0e8d:1956 MediaTek Inc.
    Bus 002 Device 002: ID 05af:0630 Jing-Mold Enterprise Co., Ltd
    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

    It would expect to read something like ‘Samsung BR/DVD’ instead of ‘MedaiTek’ (which is the manufacturer of the chip afaik)

    Question: Was it working before the update to the new kernel? I never tested this before…

Viewing 15 posts – 1 through 15 (of 18 total)

You must be logged in to reply to this topic.

Comments are closed.